home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindspring.com!usenet
- From: rudd@mindspring.com (Justin Rudd)
- Newsgroups: comp.lang.c++
- Subject: Re: CString FileName = "c:\windows\Myfile.ini"
- Date: Fri, 29 Mar 1996 09:14:09 GMT
- Organization: MindSpring Enterprises
- Message-ID: <4jg9r3$mk0@mule2.mindspring.com>
- References: <4jg6qf$2d1@bignews.shef.ac.uk>
- Reply-To: rudd@mindspring.com
- NNTP-Posting-Host: rudd.mindspring.com
- X-Newsreader: Forte Free Agent v0.55
-
- Abdullah Alghamdi <abdullah@dcs.shef.ac.uk> wrote:
-
- >The compiler VC++ does not accept the following value for CString
-
- >CString FileName = "c:\windows\Myfile.ini";
-
- >I think it`s got problem with "\" character.
-
- >any help will be appreciated.
- >Yours sincerely.
-
- You are right it is the "\" character.
-
- Do this:
-
- CString FileName = "c:\\windows\\myfile.ini";
-
-
- Justin Rudd
- rudd@mindspring.com
- =======================================
- It'll work...trust me ;-)
- =======================================
-
-
-